#ifndef MAPREDUCEWIDGET_H
#define MAPREDUCEWIDGET_H

#include <QWidget>
class JsEditorWidget;
class QTabWidget;
class HorizontalTabWidget;
class MRIOWidget;
#include <client/dbclient.h>
using namespace mongo;
class MapReduceWidget : public QWidget
{
    Q_OBJECT
public:
    explicit MapReduceWidget(QWidget *parent = 0);

signals:

public slots:
    void runMapReduce();
protected:
    QTabWidget* tabWidget;
    JsEditorWidget* mapFuncEditor;
    JsEditorWidget* reduceFuncEditor;
    JsEditorWidget* finalizeFuncEditor;
    MRIOWidget* mrioWidget;
public:
    void initEditor();

};

#endif // MAPREDUCEWIDGET_H
